package com.kamisama.utopia.constant.character;

public class Strength {
    public static final String LV1 = "体力枯竭";
    public static final String LV2 = "肾虚";
    public static final String LV3 = "劳累";
    public static final String LV4 = "气息平稳";
    public static final String LV5 = "能打十个";
    public static final String LV6 = "一柱擎天";

    public static String formatStrength(int StrengthPercent) {
        String strength = "";
        if (StrengthPercent <= 10) {
            strength = "体力：" + Strength.LV1;
        } else if (StrengthPercent <= 30) {
            strength = "体力：" + Strength.LV2;
        } else if (StrengthPercent <= 60) {
            strength = "体力：" + Strength.LV3;
        } else if (StrengthPercent <= 80) {
            strength = "体力：" + Strength.LV4;
        } else if (StrengthPercent < 110) {
            strength = "体力：" + Strength.LV5;
        } else {
            strength = "体力：" + Strength.LV6;
        }
        strength = strength + " [" + StrengthPercent +"%] \n";
        return strength;
    }
}
